package com.jyh.service;

import com.jyh.entity.JyhProperties;

/**
 * @author JYH
 * @version 1.0
 * @date 2022/11/17 15:42
 */
public class JyhService {

    private JyhProperties jyhProperties;

    public JyhService() {
    }

    public JyhService(JyhProperties jyhProperties) {
        this.jyhProperties = jyhProperties;
    }

    public void hello(){
        System.out.println("姓名："+jyhProperties.getName()+",年龄："+jyhProperties.getAge());
    }
}
